package Exercise3.exercise3;
import java.util.*;
public class Test1 {
	public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
		System.out.println("请输入三个整数：");
		int[] num=new int[3];
		for(int i=0;i<num.length;i++) {
			num[i]=in.nextInt();
		}
		Arrays.sort(num);
		System.out.println("排序后的整数为：");
		for(int i=0;i<num.length;i++) {
			System.out.print(num[i]+" ");
		}
	}
}
